package cn.kgc.mushroomdatabaseprovider.mapper;

import cn.kgc.mushroomcommon.pojo.Commdetail;
import cn.kgc.mushroomcommon.pojo.CommdetailExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CommdetailMapper {
    int countByExample(CommdetailExample example);

    int deleteByExample(CommdetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Commdetail record);

    int insertSelective(Commdetail record);

    List<Commdetail> selectByExample(CommdetailExample example);

    Commdetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Commdetail record, @Param("example") CommdetailExample example);

    int updateByExample(@Param("record") Commdetail record, @Param("example") CommdetailExample example);

    int updateByPrimaryKeySelective(Commdetail record);

    int updateByPrimaryKey(Commdetail record);
}